package com.hoapital.outpbillwork.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoapital.outpbillwork.module.entity.DrugPrescDetail;
import com.hoapital.outpbillwork.module.mapper.DrugPrescDetailMapper;
import com.hoapital.outpbillwork.module.service.DrugPrescDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-03-31
 */
@Service

public class DrugPrescDetailServiceImpl extends ServiceImpl<DrugPrescDetailMapper, DrugPrescDetail> implements DrugPrescDetailService {
    @Resource
    private DrugPrescDetailMapper drugPrescDetailMapper;

    @Override
    public List<DrugPrescDetail> getPrescDetail(String visitDate, String visitNo) {
        return drugPrescDetailMapper.getPrescDetail(visitDate, visitNo);
    }
}
